package com.example.jurisdiction.Service;

import java.util.List;

import entity.PageBean;
import entity.jurisdiction;
import entity.role;
import entity.sys_user_info;
import org.apache.ibatis.annotations.Param;

public interface pageService {
	//角色分页
	public PageBean getAllRole(Integer pageIndex, Integer pageSize, String name) throws Exception ;
	
	public List<role> getAllRoles() throws Exception ;
	
	
	
	//用户分页
	public PageBean getAllUser(Integer pageIndex, Integer pageSize, String name) throws Exception ;
		
	public List<sys_user_info> getAllUsers() throws Exception ;
		
		//菜单分页
				
		public PageBean getAlljurisdiction(Integer pageIndex, Integer pageSize, String name) throws Exception ;
		
		public List<jurisdiction> getAlljurisdictions() throws Exception ;
		
}
